package com.example.bookappgraduation.models;

public class Category {
    private String id;
    private String catalog; // 分类名称

    public Category(String id, String catalog) {
        //根据书籍分类 API (http://apis.juhe.cn/goodbook/catalog) 返回的 result 数组中的对象字段定义
        this.id = id;
        this.catalog = catalog;
    }

    public String getId() {
        return id;
    }

    public String getCatalog() {
        return catalog;
    }
}